type github.com/google/go-cmp/cmp.textLine

41 uses

	github.com/google/go-cmp/cmp (current package)
		report_reflect.go#L164: 		return textLine(fmt.Sprint(v.Bool()))
		report_reflect.go#L166: 		return textLine(fmt.Sprint(v.Int()))
		report_reflect.go#L168: 		return textLine(fmt.Sprint(v.Uint()))
		report_reflect.go#L171: 			return textLine(formatHex(v.Uint()))
		report_reflect.go#L173: 		return textLine(fmt.Sprint(v.Uint()))
		report_reflect.go#L175: 		return textLine(formatHex(v.Uint()))
		report_reflect.go#L177: 		return textLine(fmt.Sprint(v.Float()))
		report_reflect.go#L179: 		return textLine(fmt.Sprint(v.Complex()))
		report_reflect.go#L183: 		return textLine(formatPointer(value.PointerOf(v), true))
		report_reflect.go#L337: 		list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(prefix + `"""`), ElideComma: true})
		report_reflect.go#L344: 			list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(line), ElideComma: true})
		report_reflect.go#L346: 		list = append(list, textRecord{Diff: opts.DiffMode, Value: textLine(prefix + `"""`), ElideComma: true})
		report_reflect.go#L352: 		return textLine(prefix + formatString(s[:maxLen]) + string(textEllipsis))
		report_reflect.go#L354: 	return textLine(prefix + formatString(s))
		report_slices.go#L168: 				return textRecord{Diff: d, Value: textLine(s)}
		report_slices.go#L195: 		list2 = append(list2, textRecord{Value: textLine(`"""`), ElideComma: true})
		report_slices.go#L198: 				line, _ := strconv.Unquote(string(r.Value.(textLine)))
		report_slices.go#L221: 				r.Value = textLine(line)
		report_slices.go#L230: 		if r := list2[len(list2)-1]; r.Diff == diffIdentical && len(r.Value.(textLine)) == 0 {
		report_slices.go#L233: 		list2 = append(list2, textRecord{Value: textLine(`"""`), ElideComma: true})
		report_slices.go#L258: 				return textRecord{Diff: d, Value: textLine(s)}
		report_slices.go#L275: 				return textRecord{Diff: d, Value: textLine(s), Comment: comment}
		report_slices.go#L315: 				return textRecord{Diff: d, Value: textLine(s)}
		report_text.go#L126: 	if _, ok := s.Value.(textLine); ok {
		report_text.go#L127: 		return b, textLine(b[n0:])
		report_text.go#L217: 		if _, ok := s[i].Value.(textLine); !ok {
		report_text.go#L233: 		return b, textLine(b[n0:])
		report_text.go#L241: 			_, isLine := r.Value.(textLine)
		report_text.go#L248: 			_, isLine := r.Value.(textLine)
		report_text.go#L251: 		func(r textRecord) int { return utf8.RuneCount(r.Value.(textLine)) },
		report_text.go#L259: 		_, isLine := r.Value.(textLine)
		report_text.go#L276: 			line := r.Value.(textLine)
		report_text.go#L339: type textLine []byte
		report_text.go#L342: 	textNil      = textLine("nil")
		report_text.go#L343: 	textEllipsis = textLine("...")
		report_text.go#L346: func (s textLine) Len() int {
		report_text.go#L349: func (s1 textLine) Equal(s2 textNode) bool {
		report_text.go#L350: 	if s2, ok := s2.(textLine); ok {
		report_text.go#L355: func (s textLine) String() string {
		report_text.go#L358: func (s textLine) formatCompactTo(b []byte, d diffMode) ([]byte, textNode) {
		report_text.go#L361: func (s textLine) formatExpandedTo(b []byte, _ diffMode, _ indentMode) []byte {